package com.kaifamiao.service;

import com.kaifamiao.model.AdminModel;
import com.kaifamiao.model.UserModel;

import java.util.List;

public interface AdminService {

    AdminModel findByAdminId(Long id);

    int updateAdmin(AdminModel model);

    List<AdminModel> findByAdmin(AdminModel model);

    AdminModel findByAdminName(String adminName);
}
